package com.suzhiliang.springbootlesson.securityOAuth2;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Copyright (C), 2015-2019, XXX有限公司
 *
 * @ClassName: SecurityOAuth2
 * @Author: xmm
 * @Date: 2019/7/22 16:02
 * @Description: OAuth2整合SpringSecurity测试Controller
 * @Version 1.0
 */
@Controller
@RequestMapping("/secure")
public class SecurityOAuth2Controller {

    @RequestMapping(value = "sayHello",method = RequestMethod.GET)
    public String sayHello(){
        return "Secure hellow";
    }
}
